package com.iplay.thezen.decorator;

/**
 * @author dangwu
 * @since 2021/9/14 10:26 上午
 */
public class ConcreteDecorator1 extends Decorator{

    public ConcreteDecorator1(Component component) {
        super(component);
    }

    private void method1(){
        System.out.println("method1 修饰");
    }

    @Override
    public void operate(){
        this.method1();
        super.operate();
    }
}
